Integrand size = 19, antiderivative size = 17 \[ \int \cos ^2(e+f x) \left (-2+\sec ^2(e+f x)\right ) \, dx=-\frac {\cos (e+f x) \sin (e+f x)}{f} \]
[Out]
Time = 0.02 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {4128} \[ \int \cos ^2(e+f x) \left (-2+\sec ^2(e+f x)\right ) \, dx=-\frac {\sin (e+f x) \cos (e+f x)}{f} \]
[In]
[Out]
Rule 4128
Rubi steps \begin{align*} \text {integral}& = -\frac {\cos (e+f x) \sin (e+f x)}{f} \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 33, normalized size of antiderivative = 1.94 \[ \int \cos ^2(e+f x) \left (-2+\sec ^2(e+f x)\right ) \, dx=-\frac {\cos (2 f x) \sin (2 e)}{2 f}-\frac {\cos (2 e) \sin (2 f x)}{2 f} \]
[In]
[Out]
Time = 0.12 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.88
method | result | size |
risch | \(-\frac {\sin \left (2 f x +2 e \right )}{2 f}\) | \(15\) |
parallelrisch | \(-\frac {\sin \left (2 f x +2 e \right )}{2 f}\) | \(15\) |
derivativedivides | \(-\frac {\cos \left (f x +e \right ) \sin \left (f x +e \right )}{f}\) | \(18\) |
default | \(-\frac {\cos \left (f x +e \right ) \sin \left (f x +e \right )}{f}\) | \(18\) |
norman | \(\frac {\frac {2 \tan \left (\frac {f x}{2}+\frac {e}{2}\right )}{f}-\frac {4 \tan \left (\frac {f x}{2}+\frac {e}{2}\right )^{3}}{f}+\frac {2 \tan \left (\frac {f x}{2}+\frac {e}{2}\right )^{5}}{f}}{\left (1+\tan \left (\frac {f x}{2}+\frac {e}{2}\right )^{2}\right )^{2} \left (\tan \left (\frac {f x}{2}+\frac {e}{2}\right )^{2}-1\right )}\) | \(79\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.00 \[ \int \cos ^2(e+f x) \left (-2+\sec ^2(e+f x)\right ) \, dx=-\frac {\cos \left (f x + e\right ) \sin \left (f x + e\right )}{f} \]
[In]
[Out]
Time = 3.63 (sec) , antiderivative size = 49, normalized size of antiderivative = 2.88 \[ \int \cos ^2(e+f x) \left (-2+\sec ^2(e+f x)\right ) \, dx=x - 2 \left (\begin {cases} \frac {x \sin ^{2}{\left (e + f x \right )}}{2} + \frac {x \cos ^{2}{\left (e + f x \right )}}{2} + \frac {\sin {\left (e + f x \right )} \cos {\left (e + f x \right )}}{2 f} & \text {for}\: f \neq 0 \\x \cos ^{2}{\left (e \right )} & \text {otherwise} \end {cases}\right ) \]
[In]
[Out]
none
Time = 0.21 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.35 \[ \int \cos ^2(e+f x) \left (-2+\sec ^2(e+f x)\right ) \, dx=-\frac {\tan \left (f x + e\right )}{{\left (\tan \left (f x + e\right )^{2} + 1\right )} f} \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 14, normalized size of antiderivative = 0.82 \[ \int \cos ^2(e+f x) \left (-2+\sec ^2(e+f x)\right ) \, dx=-\frac {\sin \left (2 \, f x + 2 \, e\right )}{2 \, f} \]
[In]
[Out]
Time = 15.23 (sec) , antiderivative size = 14, normalized size of antiderivative = 0.82 \[ \int \cos ^2(e+f x) \left (-2+\sec ^2(e+f x)\right ) \, dx=-\frac {\sin \left (2\,e+2\,f\,x\right )}{2\,f} \]
[In]
[Out]